Bounds3D.LineSegmentIntersection Method

Returns a Vector3D. Finds the point at which a line through Pt1 and Pt2 intersects the bounding volume.

Syntax

Bounds3D.LineSegmentIntersection Pt1, Pt2


Parameters

Pt1

Vector3D

Pt2

Vector3D


If the intersection point is not between Pt1 and Pt2, it returns Nil.